package com.tanhua.dubbo.api.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.tanhua.domain.db.Cover;

import com.tanhua.dubbo.api.CoverApi;
import com.tanhua.dubbo.mapper.CoverMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class CoverImpl implements CoverApi {
    @Autowired
    private CoverMapper coverMapper;
    @Override
    public List<Cover> findCover() {
        //查询cover
        List<Cover> covers = coverMapper.selectList(null);
        return covers;
    }
}
